var angular = require('angular');

const Router = require('./configs/routerConfig');

var commonStyle = require('../styles/common.less');
var styles = require('../styles/style.less');

var homeMudule = require('./controllers/homeController');
var userModule = require('./controllers/userController');

var storagesModule = require('./factories/storageFactory');
var httpServiceModule = require('./services/httpService');

var userFilterModule = require('./filters/dataFilter');

var menuDirectiveModule = require('./directives/menuDirective');

const AngularModules = [
    'ui.router',
    'homeMudule',
    'userModule',
    'storagesModule',
    'httpServiceModule',
    'userFilterModule',
    'menuDirectiveModule'
];

angular.module('app', AngularModules).config(Router);